cmake_minimum_required(VERSION 3.17)
set(CMAKE_CXX_STANDARD 14)

project(LuaCIntersect)

add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")

include_directories(include)

add_subdirectory(lua-5.3.5)

add_executable(${PROJECT_NAME} main.cpp)

target_link_libraries(${PROJECT_NAME}
        lualib)

file(COPY scripts DESTINATION /)